import http from './request'
// 获取装/卸货名列表
export const getDataByParentCode = () => {
    return http({
        url: '/hongyun-training/common/getDataByParentCode?parentCode=SHIP_LOADING_UNLOADING_NAME',
        method: 'GET'
    })
}
//获取数据
export const shiparchivesList = (data) => {
    return http({
        url: '/hongyun-training/shipforecast/list?current=' + data.current + '&size=' +data.size,
        method: 'POST',
        data
    })
}
// 逻辑删除
export const shipforecastRemove = (ids) => {
    return http({
        url: `/hongyun-training/shipforecast/remove?ids=${ids}`,
        method: 'POST'
    })
}
// 详情
export const shipforecastDetail = (id) => {
    return http({
        url: `/hongyun-training/shipforecast/detail?id=${id}`,
        method: 'GET'
    })
}